package day01.NumFormat_;

import java.text.NumberFormat;

/**
 * @author feng
 * @Date 2022/1/3 14:07
 * NumberFormat抽象类
 */
public class Test1 {
    public static void main(String[] args) {
        NumberFormat numberFormat = null;
        numberFormat = NumberFormat.getInstance();
        System.out.println(numberFormat.format(100000));
        System.out.println(numberFormat.format(1000.3556));

    }
}
